<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="js/vue.js"></script>
	</head>
	<body>
		<div id="app">
			<div>{{name}}</div>
			<div>{{age}}</div>
			<hr />
			<div v-text="name"></div>
			<div v-html="age"></div>
		</div>
		<script type="text/javascript">
			new Vue({
				el: '#app',
				data: {
					name: '张三',
					age: '<h3>20</h3>'
				}
			})
		</script>
	</body>
</html>
